<div class="thread">
<?php 	if( $isAdmin ) : ?>
	<div class="delete">(<a href="/org/view/<?php echo $orgname ?>/thread/delete/<?php View::show($thread	['thread_id'])?>">Delete</a>)</div>
<?php 	endif; ?>
	<div class="title"><a href="/org/view/<?php echo $orgname ?>/thread/view/<?php View::show($tgread['thread_id'])?>"><?php View::show($thread['thtitle'])?></a></div>
	<div>
		<div class="lastpost-date"><span class="label">Last posted on:</span> <?php View::show(date('l, dS \of F Y h:i:sa', strtotime($thread['date']) + 8*3600)) ?></div>
		<div class="views">Views:<?php View::show($thread['view_no'])?></div>
		<div class="replies">Replies:<?php View::show($thread['reply_no'])?></div>
	</div>
	<div class="lastpost-author"><span class="label">by:</span><?php View::show( ucwords( strtolower( $thread['lastname'])))?>, <?php View::show(ucwords( strtolower( $thread['firstname'])))?> 
					<?php View::show(ucwords( strtolower( $thread['middlename']{0} )))?>.</div>
</div>